import Vue from 'vue'
import App from './App'

Vue.config.productionTip = false

App.mpType = 'app'

// 引入全局uView
import uView from 'uview-ui'
Vue.use(uView);

//处理vuex
let vuexStore = require("@/store/$u.mixin.js");
Vue.mixin(vuexStore);
import store from '@/store';

const app = new Vue({
	store,
    ...App
})

//http请求
import httpInterceptor from "@/common/http.interceptor.js"
Vue.use(httpInterceptor,app)

//API集成管理
import httpApi from "@/common/http.api.js"
Vue.use(httpApi,app);

app.$mount()
